import React, { useRef,useEffect } from 'react'
import { Swiper, } from 'antd-mobile'

const colors = [require('../../imgs_x/one.png').default, require('../../imgs_x/two.png').default,require('../../imgs_x/three.png').default];
const items = colors.map((item, index) => (
  <Swiper.Item key={index}>
    <div
      className="content"
    >
        {/* <img src={item} alt="" /> */}
        <div></div>
    </div>
  </Swiper.Item>
))
const View = () => {
    
    return <>
        <Swiper>{items}</Swiper>
    </>
}
export default View;